<template>
  <div class="home">
    <img alt="Vue logo" src="../assets/logo.png">
    <p>counter={{ getCounter }}</p>
  </div>
</template>

<script>
// @ is an alias to /src
import { mapGetters } from "vuex";

export default {
  name: 'HomeView',
  computed:{
    ...mapGetters(['getCounter'])
  }
}
</script>
